﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminLog.aspx.cs" Inherits="Web.fanliAdmin.admin.AdminLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理员日志 -</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="/css/main.css" rel="stylesheet" type="text/css" />
        <script src="../js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="right">
        <!-- 头部开始 -->
        <div class="right-title">
            返利网管理后台>管理员日志</div>
        <div class="con-title">
            <img src="../image/icon01.gif" width="23" height="26" style="padding: 2px 0 0 15px;
                float: left" />
            <span class="con-txt">管理员日志</span>
        </div>
        <!-- 头部开始 -->
        <!-- 查询开始 -->
        <div class="toptab" id="divQuery" runat="server">
            <div class="tabcontent">
                <%--<div class="span">
                    id：</div>
                <div class="span">
                    <asp:TextBox ID="txtQryId" runat="server" CssClass="clsInput"></asp:TextBox></div>--%>
                <div class="span">
                    日志类型：</div>
                <div class="span">
                    <asp:TextBox ID="txtQryLogtype" runat="server" CssClass="clsInput"></asp:TextBox></div>
                <div class="span">管理员id：</div><div class="span"><asp:TextBox ID="txtQryAdminid" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
              <%--<div class="span">操作时间：</div><div class="span"><asp:TextBox ID="txtQryOperateTime" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
                <div class="span">操作ip：</div><div class="span"><asp:TextBox ID="txtQryOperateIP" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
                <%--<div class="span">操作结果：</div><div class="span"><asp:TextBox ID="txtQryOperateResult" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
                <div class="span">扩展：</div><div class="span"><asp:TextBox ID="txtQryExt" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
                <div class="span">
                    <asp:Button ID="btnQuery" CssClass="btnQuery" runat="server" Text=" 查询 " OnClick="btnQuery_Click" /></div>
            </div>
        </div>
        <!-- 查询结束 -->
        <!-- 列表内容开始 -->
        <div class="tab" id="divList" runat="server">
            <!-- 错误提示开始 -->
            <div id="DivPromptMessage" runat="server">
                <asp:Literal ID="litPromptMessage" runat="server"></asp:Literal>
            </div>
            <!-- 错误提示结束 -->
            <!-- 信息列表开始 -->
            <asp:Repeater runat="server" ID="rptInfoList">
                <HeaderTemplate>
                    <table cellpadding="0" cellspacing="0" class="atab">
                        <tr>
                            <th>
                                编号
                            </th>
                            <th>
                                日志类型
                            </th>
                            <th>
                                管理员
                            </th>
                            <th>
                                操作时间
                            </th>
                            <th>操作ip</th>
                            <th>操作结果</th>
                            <th>扩展</th>
                           <%-- <th>
                                操作
                            </th>--%>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr onmouseover="this.bgColor='#8CBDE7'" onmouseout="this.bgColor='#ffffff'">
                        <td>
                            <%# Eval("id") %>
                        </td>
                        <td>
                            <%# Eval("logtype")%>
                        </td>
                        <td>
                            <%# GetAdmin(Eval("adminid").ToString())%>
                        </td>
                        <td>
                            <%# Eval("operateTime")%>
                        </td>
                        <td><%# Eval("operateIP")%></td>
                        <td><%# (Eval("operateResult").ToString()=="Y"?"成功":"失败")%></td>
                        <td><%# Eval("ext")%></td>
                       <%-- <td>
                            <a href="?cmd=view&id=<%# Eval("id") %>" class="linkView" onclick="return openWin(this.href);">
                                查看</a>&nbsp; <a href="?cmd=edit&id=<%# Eval("id") %>" class="linkEdit" onclick="return openWin(this.href);">
                                    修改</a>&nbsp; <a href="?cmd=delete&id=<%# Eval("id") %>" onclick="return confirm('确定是要删除该记录吗？')"
                                        class="linkDelete">删除</a>
                        </td>--%>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
            <!-- 信息列表结束 -->
            <!-- 分页开始 -->
            <div class="content" id="divPager" runat="server">
                <div class="page">
                    <asp:Literal ID="litPager" runat="server"></asp:Literal></div>
            </div>
            <!-- 分页结束 -->
        </div>
        <!-- 列表内容结束 -->
        <!-- 表单开始 -->
        <div class="tab" runat="server" id="divForm">
            <table cellpadding="0" cellspacing="0" class="btab">
                <tr>
                    <td colspan="2" class="thead">
                        <asp:Label ID="lblFormTitle" runat="server" Text="修改"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        日志类型：
                    </th>
                    <td>
                        <asp:TextBox ID="txtLogtype" runat="server" CssClass="clsInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        管理员id：
                    </th>
                    <td>
                        <asp:TextBox ID="txtAdminid" runat="server" CssClass="clsInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        操作时间：
                    </th>
                    <td>
                        <asp:TextBox ID="txtOperateTime" runat="server" CssClass="clsInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        操作ip：
                    </th>
                    <td>
                        <asp:TextBox ID="txtOperateIP" runat="server" CssClass="clsInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        操作结果：
                    </th>
                    <td>
                        <asp:TextBox ID="txtOperateResult" runat="server" CssClass="clsInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        扩展：
                    </th>
                    <td>
                        <asp:TextBox ID="txtExt" runat="server" CssClass="clsInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="font-size: 30px;">
                        <asp:Button ID="btnSumit" CssClass="btnSumit" runat="server" Text=" 发布 " OnClick="btnSumit_Click" />
                        <input class="btnCancel" type="reset" value=" 取消 " />
                        <asp:TextBox ID="txtId" runat="server" Style="display: none" Text="0"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <!-- 表单结束 -->
        <!-- 查看开始 -->
        <div class="tab" runat="server" id="divView">
            <table cellpadding="0" cellspacing="0" class="btab">
                <tr>
                    <td colspan="2" class="thead">
                        <asp:Label ID="lblViewTitle" runat="server" Text="查看"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        日志类型：
                    </th>
                    <td>
                        <asp:Label ID="lblLogtype" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        管理员id：
                    </th>
                    <td>
                        <asp:Label ID="lblAdminid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        操作时间：
                    </th>
                    <td>
                        <asp:Label ID="lblOperateTime" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        操作ip：
                    </th>
                    <td>
                        <asp:Label ID="lblOperateIP" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        操作结果：
                    </th>
                    <td>
                        <asp:Label ID="lblOperateResult" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        扩展：
                    </th>
                    <td>
                        <asp:Label ID="lblExt" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <!-- 查看结束 -->
    </div>
    </form>
</body>
</html>
